<?php /* Smarty version 2.6.16, created on 2013-08-20 16:55:33
         compiled from ../templates/admin/contact/detail_contact.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'ucfirst', '../templates/admin/contact/detail_contact.tpl', 55, false),array('modifier', 'return_fetched_value', '../templates/admin/contact/detail_contact.tpl', 67, false),array('modifier', 'date', '../templates/admin/contact/detail_contact.tpl', 80, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => $this->_tpl_vars['header_start'], 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
  echo '<script language="javascript" src="';  echo $this->_tpl_vars['siteroot'];  echo '/includes/js/admin/send_reply.js"></script>'; ?>

<?php echo '
<script language="javascript">
function ShowReply()
{
	if(document.getElementById("replyDiv").style.display=="none")
	{
		document.getElementById("replyDiv").style.display="block";	
	}
	else
	{
		document.getElementById("replyDiv").style.display="none";
	}
}

</script>

'; ?>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => $this->_tpl_vars['header_end'], 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

 <div class="contain">
 
      <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => $this->_tpl_vars['left_menu'], 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
      
      <div class="right_contain">
        
         <div class="heading_box">Enquiry Details</div>
         <div class="whitebox">
         <!--Message Div Start-->
         <div class="masg_div">
         <?php if ($this->_tpl_vars['errmsg']): ?>
          <div class="error_msg">
           <span><?php echo $this->_tpl_vars['errmsg']; ?>
</span>
          </div>
         <?php endif; ?>
        <?php if ($this->_tpl_vars['msg']): ?>
          <div class="success_msg">
           <span><?php echo $this->_tpl_vars['msg']; ?>
</span>
          </div>
         <?php endif; ?>
         </div>
         <!--Message Div End-->   
         <div>
        
           <div class="form_fieldbox">
            <div style="text-align:right;">
	          <a href="<?php echo $this->_tpl_vars['siteroot']; ?>
/admin/home.php?q=contact&page=<?php echo $this->_tpl_vars['page']; ?>
"><strong>Back</strong></a>
            </div>
             
             <dl>
              <dt>Name :</dt>
              <dd><?php echo ((is_array($_tmp=$this->_tpl_vars['contact_array']['name'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
</dd>
              <div class="clear"></div>
             </dl>
             
              <dl>
              <dt>Email :</dt>
              <dd><?php echo $this->_tpl_vars['contact_array']['email_id']; ?>
</dd>
              <div class="clear"></div>
             </dl>
           	
            <!--<dl>
              <dt>Subject:</dt>
              <dd><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['contact_array']['subject'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)))) ? $this->_run_mod_handler('return_fetched_value', true, $_tmp) : smarty_modifier_return_fetched_value($_tmp)); ?>
</dd>
              <div class="clear"></div>
            </dl>-->
            
            <dl>
              <dt>Description:</dt>
              <dd><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['contact_array']['description'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)))) ? $this->_run_mod_handler('return_fetched_value', true, $_tmp) : smarty_modifier_return_fetched_value($_tmp)); ?>
</dd>
              <div class="clear"></div>
            </dl>
             
                      
            <dl>
              <dt>Enquiry On Date:</dt>
              <dd><?php echo ((is_array($_tmp=$this->_tpl_vars['contact_array']['entry_on'])) ? $this->_run_mod_handler('date', true, $_tmp) : date($_tmp)); ?>
</dd>
              <div class="clear"></div>
            </dl>
            <?php if ($this->_tpl_vars['contact_array']['city']): ?>
            <dl>
              <dt>City:</dt>
              <dd><?php echo $this->_tpl_vars['contact_array']['city']; ?>
</dd>
              <div class="clear"></div>
            </dl>
            <?php endif; ?>
            <?php if ($this->_tpl_vars['contact_array']['phone']): ?>
            <dl>
              <dt>Phone No.:</dt>
              <dd><?php echo $this->_tpl_vars['contact_array']['phone']; ?>
</dd>
              <div class="clear"></div>
            </dl>
            <?php endif; ?>
             <dl>
              <dt><input type="button" class="admin_btn" value="Reply" name="Reply" id="Reply" onclick="javascript:ShowReply();" /></dt>
              <dd></dd>
              <div class="clear"></div>
            </dl>
            <div name="replyDiv" id="replyDiv" style="display:none;">
             <form name="replyFrm" id="replyFrm" action="" method="post" >      
            <dl>
              <dt>Subject :</dt>
              <dd><input type="text" name="subject" id="subject" value=""  class="input"/></dd>
              <div class="clear"></div>
            </dl>
            
            <dl>
              <dt>Message :</dt>
              <dd><textarea name="message" id="message" cols="60" rows="10"  class="input"></textarea>
              </dd>
              <div class="clear"></div>
            </dl>
            
            <dl>
              <dt>Signature :</dt>
              <dd><input type="text" name="sign" id="sign" style="width:200px;" class="input" value="Thanking You, Team Getbids.hopto.org" readonly="readonly" />
              </dd>
              <div class="clear"></div>
            </dl>
            
            <dl>
              <dt><input type="Submit" class="admin_btn" value="Send" name="Send" id="Send" /></dt>
              <dd></dd>
              <div class="clear"></div>
            </dl>
            </form></div>
                         <dt>&nbsp;</dt>
            
              <div class="clear"></div>
             </dl>
            </div>
           
         </div>

         </div>
        </div>
      
      
      <!--right_contain end-->
      <div class="clear"></div>
    </div>
    
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => $this->_tpl_vars['footer'], 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>